<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            background-color: rebeccapurple;
        }
        .audio-icon{
            width: 20px;
            height: 18px;
            display: block;
            background-image: url('./2.png');
            background-size: 320px 18px;
            animation: bgPosAni .8s steps(20, end) 0ms infinite;
            background-position: -320px 0;
        }
        @keyframes bgPosAni {
            0% {
                background-position: 0 0;
            }
            100% {
                background-position: -320px 0;
            }
        }
    </style>
</head>
<body>
    <div class="audio-icon"></div>
</body>
</html>